package bairui.international.controller.branch.branch.area;

import com.sh_lianjing.spring.web.controller.enhance.module.*;
import com.sh_lianjing.spring.web.controller.enhance.module.body.*;
import com.sh_lianjing.spring.web.controller.enhance.output.bean.*;
import bairui.international.controller.branch.branch.area.C_BranchCompanyArea_Add_Page;
import bairui.international.controller.branch.branch.area.C_BranchCompanyArea_Add_Adds;
import bairui.international.controller.branch.branch.area.C_BranchCompanyArea_Add_Add;

/**
 *
 * Module_AddPage
 *
 */
class Module_AddPage{

	/**
	 * 分页模块
	 */
	public Module module(
		com.sh_lianjing.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_BranchCompanyArea_Add_Page.Page.Operate c_BranchCompanyArea_Add_Page_Page_Operate
	,	C_BranchCompanyArea_Add_Adds.Adds.Operate c_BranchCompanyArea_Add_Adds_Adds_Operate
	,	C_BranchCompanyArea_Add_Add.Add.Operate c_BranchCompanyArea_Add_Add_Add_Operate
		,java.util.List<bairui.international.model.domain.jpa.TB_Province> province
	){
		return
			new Module(
					new ModuleHead("添加列表")
						.addOperate(
							c_BranchCompanyArea_Add_Adds_Adds_Operate
								.defaultComment("添加")
						)
					, 
					new PageModuleBody(
							moduleFeature,
							AddPage_OutputInfo.outputInfo(),
							new PageFilterInfo(
									AddPage_BaseFilter.info(), 
									AddPage_OutputInfo.pageInfo(), 
									AddPage_OutputInfo.orderInfo()
								),
							c_BranchCompanyArea_Add_Page_Page_Operate
							,new java.util.Map.Entry<String, java.util.List<?>>() {
								@Override public String getKey() {
									return "province.id";
								}
								@Override public java.util.List<?> getValue() {
									return province;
								}
								@Override public java.util.List<?> setValue(java.util.List<?> value) {
									return value;
								}
							}
						)
						.addListOperate(
							c_BranchCompanyArea_Add_Add_Add_Operate
								.defaultComment("添加")
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_BranchCompanyArea_Add_Page.Page.Operate c_BranchCompanyArea_Add_Page_Page_Operate
	,	C_BranchCompanyArea_Add_Adds.Adds.Operate c_BranchCompanyArea_Add_Adds_Adds_Operate
	,	C_BranchCompanyArea_Add_Add.Add.Operate c_BranchCompanyArea_Add_Add_Add_Operate
		,java.util.List<bairui.international.model.domain.jpa.TB_Province> province
	){
		return this.module(
				null,
				c_BranchCompanyArea_Add_Page_Page_Operate
	,			c_BranchCompanyArea_Add_Adds_Adds_Operate
	,			c_BranchCompanyArea_Add_Add_Add_Operate
				,province
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
